﻿using NorthwindDataservice;
using System;

namespace ConsoleClient
{
    class Program
    {
        static void Main(string[] args)
        {
            var dataService = new DataService();
            //foreach (var item in dataService.GetCategories())
            //{
            //    Console.WriteLine(item.Name);
            //}

            var service = new DataService();
            //var category = service.CreateCategory("Test", "CreateCategory_ValidData_CreteCategoryAndRetunsNewObject");

            //var orderDetails = service.GetOrderDetailsByOrderId(10248);

            //var orderDetails = service.GetOrderDetailsByProductId(11);

            //var order = service.GetOrder(10248);

            var orderDetails = service.GetOrderDetailsByProductId(11);

            //var product = service.GetProduct(1);

            //var orderDetails = service.GetOrderDetailsByOrderId(10248);


            Console.ReadLine();
        }
    }
}
